import type { RouteRecordRaw } from 'vue-router'
import { Layout } from '@/Layout'
import { DynamicFormConfig } from '@/DynamicForm'

const formRoutes: RouteRecordRaw[] = [
  {
    path: '/dynamic-form-config',
    name: 'DynamicFormConfig',
    component: DynamicFormConfig,
    meta: { title: '动态表单配置' }
  },
  {
    path: '/dynamic-form-demo',
    name: 'DynamicFormDemo',
    component: () => import('@/DynamicForm/src/demo/DynamicForm.demo.vue'),
    meta: { title: '动态表单Demo' }
  }
]

const djRecordRoutes: RouteRecordRaw[] = [
  {
    path: '/collection/collect/dj-record/detail',
    name: 'djRecordDetail',
    component: () => import('@/views/Collection/Collect/DjRecord/DjRecord[id].vue'),
    meta: { title: '点交详情' }
  }
]
const translateRoutes: RouteRecordRaw[] = [
  {
    path: '/dataTranslate/translate/index',
    name: 'dataTranslate',
    component: () => import('@/views//DataTranslate/Translate/index.vue'),
    meta: { title: '数据分发' }
  },
  {
    path: '/dataTranslate/translate/add',
    name: 'dataTranslateAdd',
    component: () => import('@/views//DataTranslate/Translate/add.vue'),
    meta: { title: '新增' }
  },
  {
    path: '/dataTranslate/translate/edit/:id',
    name: 'dataTranslateEidt',
    component: () => import('@/views//DataTranslate/Translate/add.vue'),
    meta: { title: '编辑' }
  },
  {
    path: '/dataTranslate/translate/detail/:id',
    name: 'dataTranslateDetail',
    component: () => import('@/views//DataTranslate/Translate/add.vue'),
    meta: { title: '详情' }
  }
]
const batchRoutes: RouteRecordRaw[] = [
  {
    path: '/collection/collect/batch/batch-detail/:id',
    name: 'batchDetail',
    component: () => import('@/views/Collection/Collect/Batch/BatchDetailMiddle.vue'),
    meta: { title: '批次详情' }
  },
  {
    path: '/collection/collect/batch/add',
    name: 'addBatch',
    component: () => import('@/views/Collection/Collect/Batch/AddBatch.vue'),
    meta: { title: '添加批次' }
  },
  {
    path: '/collection/collect/batch/edit/:id',
    name: 'editBatch',
    component: () => import('@/views/Collection/Collect/Batch/EditBatch.vue'),
    meta: { title: '修改批次' }
  },
  {
    path: '/collection/collect/batch/add-item/:id',
    name: 'addBatchItem',
    component: () => import('@/views/Collection/Collect/Batch/components/CRUBatchItem.vue'),
    meta: { title: '新增物品' }
  },
  {
    path: '/collection/collect/batch/add-item/:id/:itemId',
    name: 'editBatchItem',
    component: () => import('@/views/Collection/Collect/Batch/components/CRUBatchItem.vue'),
    meta: { title: '编辑物品' }
  },
  {
    path: '/collection/collect/batch/add-item/:id/:itemId',
    name: 'detailBatchItem',
    component: () => import('@/views/Collection/Collect/Batch/components/CRUBatchItem.vue'),
    meta: { title: '物品详情' }
  },
  {
    path: '/collection/collect/batch/identify-apply/:id?',
    name: 'identifyApply',
    component: () => import('@/views/Collection/Collect/Batch/IdentifyApply.vue'),
    meta: { title: '鉴定申请' }
  },
  {
    path: '/collection/collect/batch/identify-detail/:id',
    name: 'identifyDetail',
    component: () => import('@/views/Collection/Collect/IdentifyApplyRecord/IdentifyDetail.vue'),
    meta: { title: '鉴定详情' }
  },
  {
    path: '/collection/collect/batch/add-attachments/:id',
    name: 'addAttachments',
    component: () => import('@/views/Collection/Collect/BatchBack/AddAttachments.vue'),
    meta: { title: '补充附件' }
  },
  {
    path: '/collection/collect/batch/register-rf/:id',
    name: 'registerTF',
    component: () => import('@/views/Collection/Collect/Batch/RegisterTF.vue'),
    meta: { title: '鉴定登记' }
  },
  {
    path: '/collection/collect/batch/register-rf/:id',
    name: 'registerTFEdit',
    component: () => import('@/views/Collection/Collect/Batch/RegisterTF.vue'),
    meta: { title: '鉴定编辑' }
  },
  {
    path: '/collection/collect/batch/dj/:id',
    name: 'dJ',
    component: () => import('@/views/Collection/Collect/Batch/DJ.vue'),
    meta: { title: '点交' }
  },
  {
    path: '/collection/collect/batch/dj-confirm/:id',
    name: 'dJConfirm',
    component: () => import('@/views/Collection/Collect/BatchBack/DJConfirm.vue'),
    meta: { title: '点交确认' }
  },
  {
    path: '/collection/collect/batch/dj-save/:id',
    name: 'dJSave',
    component: () => import('@/views/Collection/Collect/BatchBack/DJSave.vue'),
    meta: { title: '暂存' }
  },
  {
    path: '/collection/collect/detail/:id',
    name: 'collectDetail',
    component: () => import('@/views/Collection/Collect/BatchBack/CollectDetail.vue'),
    meta: { title: '鉴定详情' }
  },
  {
    path: '/collection/collect/wdetail/:id',
    name: 'collectWDetail',
    component: () => import('@/views/Collection/Collect/BatchBack/CollectDetail.vue'),
    meta: { title: '物品详情' }
  }
]

const sysRoutes: RouteRecordRaw[] = [
  {
    path: '/system/institution/add',
    name: 'addInstitution',
    component: () => import('@/views/System/components/AddInstitution.vue'),
    meta: { title: '添加部门' }
  },
  {
    path: '/system/position/add',
    name: 'addPosition',
    component: () => import('@/views/System/components/AddPosition.vue'),
    meta: { title: '添加职位' }
  },
  {
    path: '/system/role/add',
    name: 'addRole',
    component: () => import('@/views/System/components/AddRole.vue'),
    meta: { title: '添加角色' }
  },
  {
    path: '/system/role/edit/:id',
    name: 'editRole',
    component: () => import('@/views/System/components/EditRole.vue'),
    meta: { title: '编辑角色' }
  },
  {
    path: '/system/role/bind/:id',
    name: 'bindRole',
    component: () => import('@/views/System/components/BindRole.vue'),
    meta: { title: '反查角色' }
  },
  {
    path: '/system/user/add',
    name: 'addUser',
    component: () => import('@/views/System/components/AddUser.vue'),
    meta: { title: '添加用户' }
  },
  {
    path: '/system/user/edit/:id',
    name: 'editUser',
    component: () => import('@/views/System/components/EditUser.vue'),
    meta: { title: '编辑用户' }
  },
  {
    path: '/system/userPermission/bp/:id',
    name: 'bindPermission',
    component: () => import('@/views/System/components/BindPermission.vue'),
    meta: { title: '编辑权限' }
  },
  {
    path: '/system/userPermission/cp/:id',
    name: 'copyPermission',
    component: () => import('@/views/System/components/CopyPermission.vue'),
    meta: { title: '参照赋权' }
  }
]
const collectProcessRoutes: RouteRecordRaw[] = [
  {
    path: '/collection/process/initCompilation/processUpdateSelf',
    name: 'updateInitCompilationSelf',
    component: () => import('@/views/Collection/Process/InitCompilation/processUpdateSelf.vue'),
    meta: { title: '藏品初编编辑' }
  },
  {
    path: '/collection/process/initCompilation/processUpdate',
    name: 'updateInitCompilation',
    component: () => import('@/views/Collection/Process/InitCompilation/processUpdate.vue'),
    meta: { title: '入库' }
  },
  // 编目审核的入库
  {
    path: '/collection/process/stepPlan/processUpdate',
    name: 'updateStepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/processUpdate.vue'),
    meta: { title: '入库' }
  },
  {
    path: '/collection/process/initCompilation/processDetail',
    name: 'detailInitCompilation',
    component: () => import('@/views/Collection/Process/InitCompilation/processDetail.vue'),
    meta: { title: '藏品初编详情' }
  },
  {
    path: '/collection/process/makeMenu/menu',
    name: 'menu_makeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/menu.vue'),
    meta: { title: '编目' }
  },
  // 历史文献编目
  {
    path: '/collection/process/makeMenu/menuRelative',
    name: 'menuRelative_makeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/menuRelative.vue'),
    meta: { title: '编目' }
  },
  {
    path: '/collection/process/makeMenu/menu1',
    name: 'menu_makeMenu1',
    component: () => import('@/views/Collection/Process/MakeMenu/menu.vue'),
    meta: { title: '添加' }
  },
  {
    path: '/collection/process/makeMenu/collectList',
    name: 'collectList_makeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/collectList.vue'),
    meta: { title: '编目列表' }
  },
  // 编目审核的编辑
  {
    path: '/collection/process/StepPlan/menu',
    name: 'menu_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/menu.vue'),
    meta: { title: '编辑' }
  },
  // 编目审核单独接口
  {
    path: '/collection/process/makeMenu/selfprocessDetail',
    name: 'selfdetailMakeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/selfprocessDetail.vue'),
    meta: { title: '详情' }
  },
  {
    path: '/collection/process/makeMenu/processDetail',
    name: 'detailMakeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/processDetail.vue'),
    meta: { title: '详情' }
  },
  {
    path: '/collection/process/makeMenu/processDetailNew',
    name: 'detailNewMakeMenu',
    component: () => import('@/views/Collection/Process/MakeMenu/processDetailNew.vue'),
    meta: { title: '详情' }
  },
  // 待我处理的审核
  {
    path: '/collection/process/stepPlan/startApprove',
    name: 'startApprove_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/startApprove.vue'),
    meta: { title: '初审' }
  },
  // 编目审核-初审
  {
    path: '/collection/process/stepPlan/startApproveIn',
    name: 'startApproveIn_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/startApproveIn.vue'),
    meta: { title: '详情' }
  },
  // 编目审核-终审
  {
    path: '/collection/process/stepPlan/startApproveLast',
    name: 'startApproveLast_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/startApproveLast.vue'),
    meta: { title: '详情' }
  }, //非待我处理
  {
    path: '/collection/process/stepPlan/startApproveCon',
    name: 'startApproveCon_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/startApproveCon.vue'),
    meta: { title: '审核' }
  },
  {
    path: '/collection/process/stepPlan/startApproveConBack',
    name: 'startApproveConBack_stepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/startApproveCon.vue'),
    meta: { title: '审核退回' }
  },
  {
    path: '/collection/process/InitCompilation/InAllStoreroom',
    name: 'InAllStoreroom_InitCompilation',
    component: () => import('@/views/Collection/Process/InitCompilation/InAllStoreroom.vue'),
    meta: { title: '批量入库' }
  },
  {
    path: '/collection/process/pillManage/submitFile',
    name: 'submitFile_pillManage',
    component: () => import('@/views/Collection/Process/PillManage/submitFile.vue'),
    meta: { title: '提交申请' }
  },
  {
    path: '/collection/process/ManageProcess/submitFile',
    name: 'submitFile_ManageProcess',
    component: () => import('@/views/Collection/Process/ManageProcess/submitFile.vue'),
    meta: { title: '提交申请' }
  },
  {
    path: '/collection/process/StepPlan/pillContent',
    name: 'pillContent_StepPlan',
    component: () => import('@/views/Collection/Process/StepPlan/pillContent.vue'),
    meta: { title: '批量入库' }
  },
  {
    path: '/collection/process/pillManage/detail',
    name: 'detail_pillManage',
    component: () => import('@/views/Collection/Process/PillManage/detail.vue'),
    meta: { title: '工单详情' }
  },
  {
    path: '/collection/process/ManageProcess/edit',
    name: 'edit_ManageProcess',
    component: () => import('@/views/Collection/Process/ManageProcess/edit.vue'),
    meta: { title: '藏品编辑' }
  },
  {
    path: '/collection/process/ManageProcess/detail',
    name: 'detail_ManageProcess',
    component: () => import('@/views/Collection/Process/ManageProcess/edit.vue'),
    meta: { title: '藏品详情' }
  },

  // {
  //   path: '/collection/process/pillManage/update',
  //   name: 'update_pillManage',
  //   component: () => import('@/views/Collection/Process/PillManage/update.vue'),
  //   meta: { title: '工单审核' }
  // },
  {
    path: '/collection/process/pillManage/addInfoList',
    name: 'addInfoList_pillManage',
    component: () => import('@/views/Collection/Process/PillManage/addInfoList.vue'),
    meta: { title: '藏品信息' }
  }
]
export const testRoutes: RouteRecordRaw[] = [
  ...sysRoutes,
  ...translateRoutes,
  ...batchRoutes,
  ...collectProcessRoutes,
  ...djRecordRoutes,
  {
    path: '/OA/Meeting/RoomReserveForm',
    name: 'OA/Meeting/RoomReserveForm',
    component: () => import('@/views/OA/Meeting/RoomReserveForm.vue'),
    meta: { title: '会议室预定' }
  },
  {
    path: '/OA/Meeting/RoomReservationDetail',
    name: 'OA/Meeting/RoomReservationDetail',
    component: () => import('@/views/OA/Meeting/components/RoomReservationDetail.vue'),
    meta: { title: '会议室预定详情' }
  },
  {
    path: '/OA/DigitalCollation/DigitalCollationAdd',
    name: 'OA/DigitalCollation/DigitalCollationAdd',
    component: () => import('@/views/OA/DigitalCollation/DigitalCollationAdd.vue'),
    meta: { title: '数字著录新增' }
  },
  {
    path: '/OA/DigitalCollation/DigitalCollationDetail',
    name: 'OA/DigitalCollation/DigitalCollationDetail',
    component: () => import('@/views/OA/DigitalCollation/DigitalCollationDetail.vue'),
    meta: { title: '数字著录详情' }
  },
  {
    path: '/OA/DigitalCollation/DigitalEditionDetail',
    name: 'OA/DigitalCollation/DigitalEditionDetail',
    component: () => import('@/views/OA/DigitalCollation/DigitalEditionDetail.vue'),
    meta: { title: '数字版本详情' }
  },
  {
    path: '/OA/DigitalCollation/MyWithdrawalAdd',
    name: 'OA/DigitalCollation/MyWithdrawalAdd',
    component: () => import('@/views/OA/DigitalCollation/MyWithdrawalAdd.vue'),
    meta: { title: '数字藏品提用' }
  },
  {
    path: '/OA/DigitalCollation/MyWithdrawalDetail',
    name: 'OA/DigitalCollation/MyWithdrawalDetail',
    component: () => import('@/views/OA/DigitalCollation/MyWithdrawalDetail.vue'),
    meta: { title: '我的提用详情' }
  },
  {
    path: '/OA/ReceiveOrDispatch/DispatchAdd',
    name: 'OA/ReceiveOrDispatch/DispatchAdd',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/DispatchAdd.vue'),
    meta: { title: '发文申请' }
  },
  {
    path: '/OA/ReceiveOrDispatch/DispatchUpdate',
    name: 'OA/ReceiveOrDispatch/DispatchUpdate',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/DispatchUpdate.vue'),
    meta: { title: '发文编辑' }
  },
  {
    path: '/OA/ReceiveOrDispatch/DispatchInfo',
    name: 'OA/ReceiveOrDispatch/DispatchInfo',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/DispatchInfo.vue'),
    meta: { title: '发文详情' }
  },
  {
    path: '/OA/ReceiveOrDispatch/DispatchSign',
    name: 'OA/ReceiveOrDispatch/DispatchSign',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/DispatchSign.vue'),
    meta: { title: '签收情况' }
  },
  {
    path: '/OA/ReceiveOrDispatch/DispatchRecyle',
    name: 'OA/ReceiveOrDispatch/DispatchRecyle',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/DispatchRecyle.vue'),
    meta: { title: '发文回收' }
  },
  {
    path: '/OA/ReceiveOrDispatch/RecyleInfo',
    name: 'OA/ReceiveOrDispatch/RecyleInfo',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/RecyleInfo.vue'),
    meta: { title: '发文回收详情' }
  },
  {
    path: '/OA/ReceiveOrDispatch/ReceiveInfo',
    name: 'OA/ReceiveOrDispatch/ReceiveInfo',
    component: () => import('@/views/OA/ReceiveOrDispatch/components/ReceiveInfo.vue'),
    meta: { title: '收文详情' }
  },
  {
    path: '/OA/Office/RulesAdd',
    name: 'OA/Office/RulesAdd',
    component: () => import('@/views/OA/Office/components/RulesAdd.vue'),
    meta: { title: '考勤规则新增' }
  },
  {
    path: '/OA/Office/RulesUpdate',
    name: 'OA/Office/RulesUpdate',
    component: () => import('@/views/OA/Office/components/RulesUpdate.vue'),
    meta: { title: '考勤规则编辑' }
  },
  {
    path: '/OA/Office/WorkUpdate',
    name: 'OA/Office/WorkUpdate',
    component: () => import('@/views/OA/Office/components/WorkUpdate.vue'),
    meta: { title: '考勤排班编辑' }
  },
  {
    path: '/OA/ProgressSetting/ProgressAdd',
    name: 'OA/ProgressSetting/ProgressAdd',
    component: () => import('@/views/OA/ProgressSetting/components/ProgressAdd.vue'),
    meta: { title: '流程新增' }
  },
  {
    path: '/OA/ProgressSetting/ProgressUpdate',
    name: 'OA/ProgressSetting/ProgressUpdate',
    component: () => import('@/views/OA/ProgressSetting/components/ProgressUpdate.vue'),
    meta: { title: '流程编辑' }
  },
  {
    path: '/OA/UserCenter/UserInfo',
    name: 'CurrentUserInfo',
    component: () => import('@/views/OA/UserCenter/UserInfo.vue'),
    meta: { title: '个人信息' }
  },
  {
    path: '/OA/UserCenter/Drafts',
    name: 'OA/UserCenter/Drafts',
    component: () => import('@/views/OA/UserCenter/Drafts.vue'),
    meta: { title: '草稿箱' }
  },
  {
    path: '/OA/UserCenter/Home',
    name: 'OA/UserCenter/Home',
    component: () => import('@/views/OA/UserCenter/Home.vue'),
    meta: { title: '首页' }
  },
  {
    path: '/OA/UserCenter/MessageNotice',
    name: 'OA/UserCenter/MessageNotice',
    component: () => import('@/views/OA/UserCenter/MessageNotice.vue'),
    meta: { title: '消息通知' }
  },
  {
    path: '/OA/UserCenter/Submit',
    name: 'OA/UserCenter/Submit',
    component: () => import('@/views/OA/UserCenter/Submit.vue'),
    meta: { title: '我已提交' }
  },
  {
    path: '/OA/UserCenter/Examine',
    name: 'OA/UserCenter/Examine',
    component: () => import('@/views/OA/UserCenter/Examine.vue'),
    meta: { title: '待我处理' }
  },
  {
    path: '/OA/UserCenter/Dispose',
    name: 'OA/UserCenter/Dispose',
    component: () => import('@/views/OA/UserCenter/Dispose.vue'),
    meta: { title: '经我审批' }
  },
  {
    path: '/OA/UserCenter/Receive',
    name: 'OA/UserCenter/Receive',
    component: () => import('@/views/OA/UserCenter/Receive.vue'),
    meta: { title: '我的收文' }
  },
  {
    path: '/OA/Office/AddCar',
    name: 'OA/Office/AddCar',
    component: () => import('@/views/OA/Office/components/AddCar.vue'),
    meta: { title: '用车新增' }
  },
  {
    path: '/OA/Office/EditCar',
    name: 'OA/Office/EditCar',
    component: () => import('@/views/OA/Office/components/EditCar.vue'),
    meta: { title: '用车编辑' }
  },
  {
    path: '/OA/Office/AddCustom',
    name: 'OA/Office/AddCustom',
    component: () => import('@/views/OA/Office/components/AddCustom.vue'),
    meta: { title: '自定义常用配置链接新增' }
  },
  {
    path: '/OA/Office/EditCustom',
    name: 'OA/Office/EditCustom',
    component: () => import('@/views/OA/Office/components/EditCustom.vue'),
    meta: { title: '自定义常用配置链接编辑' }
  },
  {
    path: '/OA/Office/AddHoliday',
    name: 'OA/Office/AddHoliday',
    component: () => import('@/views/OA/Office/components/AddHoliday.vue'),
    meta: { title: '假期新增' }
  },
  {
    path: '/OA/Office/ImportHoliday',
    name: 'OA/Office/ImportHoliday',
    component: () => import('@/views/OA/Office/components/ImportHoliday.vue'),
    meta: { title: '假期导入' }
  },
  {
    path: '/OA/Onbusiness/MineApplication',
    name: 'OA/Onbusiness/MineApplication',
    component: () => import('@/views/OA/Onbusiness/components/MineApplication.vue'),
    meta: { title: '出差申请' }
  },
  {
    path: '/OA/Onbusiness/MineApplicationEdit',
    name: 'OA/Onbusiness/MineApplicationEdit',
    component: () => import('@/views/OA/Onbusiness/components/MineApplicationEdit.vue'),
    meta: { title: '出差编辑' }
  },
  {
    path: '/OA/Onbusiness/MineApplicationDetail',
    name: 'OA/Onbusiness/MineApplicationDetail',
    component: () => import('@/views/OA/Onbusiness/components/ApplicationDetail.vue'),
    meta: { title: '出差详情' }
  },
  {
    path: '/OA/Petition/PetitionAdd',
    name: 'OA/Petition/PetitionAdd',
    component: () => import('@/views/OA/Petition/components/PetitionAdd.vue'),
    meta: { title: '信访申请' }
  },
  {
    path: '/OA/Petition/PetitionEdit',
    name: 'OA/Petition/PetitionEdit',
    component: () => import('@/views/OA/Petition/components/PetitionEdit.vue'),
    meta: { title: '信访编辑' }
  },
  {
    path: '/OA/Petition/PetitionDetail',
    name: 'OA/Petition/PetitionDetail',
    component: () => import('@/views/OA/Petition/components/PetitionDetail.vue'),
    meta: { title: '信访详情' }
  },
  {
    path: '/OA/UseCar/MineUseSave',
    name: 'OA/UseCar/MineUseSave',
    component: () => import('@/views/OA/UseCar/components/MineUseSave.vue'),
    meta: { title: '用车申请' }
  },
  {
    path: '/OA/UseCar/UseCarEdit',
    name: 'OA/UseCar/UseCarEdit',
    component: () => import('@/views/OA/UseCar/components/UseCarEdit.vue'),
    meta: { title: '用车编辑' }
  },
  {
    path: '/OA/UseCar/MineUseDetail',
    name: 'OA/UseCar/MineUseDetail',
    component: () => import('@/views/OA/UseCar/components/MineUseDetail.vue'),
    meta: { title: '用车详情' }
  },
  {
    path: '/OA/Workbench/PayrollDetail',
    name: 'OA/Workbench/PayrollDetail',
    component: () => import('@/views/OA/Workbench/components/PayrollDetail.vue'),
    meta: { title: '工资发放明细' }
  },
  {
    path: '/OA/Workbench/PayrollSendDetail',
    name: 'OA/Workbench/PayrollSendDetail',
    component: () => import('@/views/OA/Workbench/components/PayrollSendDetail.vue'),
    meta: { title: '工资单预览' }
  },
  {
    path: '/OA/Workbench/PayrollSendImport',
    name: 'OA/Workbench/PayrollSendImport',
    component: () => import('@/views/OA/Workbench/components/PayrollSendImport.vue'),
    meta: { title: '工资单导入' }
  },
  {
    path: '/OA/Procure/ProcureAdd',
    name: 'OA/Procure/ProcureAdd',
    component: () => import('@/views/OA/Procure/components/ProcureAdd.vue'),
    meta: { title: '采购需求申请' }
  },
  {
    path: '/OA/Procure/ProcureAdd2',
    name: 'OA/Procure/ProcureAdd2',
    component: () => import('@/views/OA/Procure/components/ProcureAdd2.vue'),
    meta: { title: '采购申请' }
  },
  {
    path: '/OA/Procure/ProcureEdit',
    name: 'OA/Procure/ProcureEdit',
    component: () => import('@/views/OA/Procure/components/ProcureEdit.vue'),
    meta: { title: '采购需求编辑' }
  },
  {
    path: '/OA/Procure/ProcureEdit2',
    name: 'OA/Procure/ProcureEdit2',
    component: () => import('@/views/OA/Procure/components/ProcureEdit2.vue'),
    meta: { title: '采购编辑' }
  },
  {
    path: '/OA/Procure/ProcureDetail',
    name: 'OA/Procure/ProcureDetail',
    component: () => import('@/views/OA/Procure/components/ProcureDetail.vue'),
    meta: { title: '采购需求详情' }
  },
  {
    path: '/OA/Procure/ProcureDetail2',
    name: 'OA/Procure/ProcureDetail2',
    component: () => import('@/views/OA/Procure/components/ProcureDetail2.vue'),
    meta: { title: '采购详情' }
  },
  {
    path: '/OA/WorkOutside/OutsideAdd',
    name: 'OA/WorkOutside/OutsideAdd',
    component: () => import('@/views/OA/WorkOutside/components/OutsideAdd.vue'),
    meta: { title: '公出申请' }
  },
  {
    path: '/OA/WorkOutside/OutsideEdit',
    name: 'OA/WorkOutside/OutsideEdit',
    component: () => import('@/views/OA/WorkOutside/components/OutsideEdit.vue'),
    meta: { title: '公出申请编辑' }
  },
  {
    path: '/OA/WorkOutside/OutsideDetail',
    name: 'OA/WorkOutside/OutsideDetail',
    component: () => import('@/views/OA/WorkOutside/components/OutsideDetail.vue'),
    meta: { title: '公出详情' }
  },
  {
    path: '/OA/Procure/GovernmentAdd',
    name: 'OA/Procure/GovernmentAdd',
    component: () => import('@/views/OA/Procure/components/GovernmentAdd.vue'),
    meta: { title: '政采立项申请' }
  },
  {
    path: '/OA/Procure/GovernmentEdit',
    name: 'OA/Procure/GovernmentEdit',
    component: () => import('@/views/OA/Procure/components/GovernmentEdit.vue'),
    meta: { title: '政采立项编辑' }
  },
  {
    path: '/OA/Procure/GovernmentDetail',
    name: 'OA/Procure/GovernmentDetail',
    component: () => import('@/views/OA/Procure/components/GovernmentDetail.vue'),
    meta: { title: '政采立项详情' }
  },
  {
    path: '/OA/Procure/ProjectAdd',
    name: 'OA/Procure/ProjectAdd',
    component: () => import('@/views/OA/Procure/components/ProjectAdd.vue'),
    meta: { title: '工程立项申请' }
  },
  {
    path: '/OA/Procure/ProjectEdit',
    name: 'OA/Procure/ProjectEdit',
    component: () => import('@/views/OA/Procure/components/ProjectEdit.vue'),
    meta: { title: '工程立项编辑' }
  },
  {
    path: '/OA/Procure/ProjectDetail',
    name: 'OA/Procure/ProjectDetail',
    component: () => import('@/views/OA/Procure/components/ProjectDetail.vue'),
    meta: { title: '工程立项详情' }
  },
  {
    path: '/OA/Procure/ShowAdd',
    name: 'OA/Procure/ShowAdd',
    component: () => import('@/views/OA/Procure/components/ShowAdd.vue'),
    meta: { title: '展览立项申请' }
  },
  {
    path: '/OA/Procure/ShowEdit',
    name: 'OA/Procure/ShowEdit',
    component: () => import('@/views/OA/Procure/components/ShowEdit.vue'),
    meta: { title: '展览立项编辑' }
  },
  {
    path: '/OA/Procure/ShowDetail',
    name: 'OA/Procure/ShowDetail',
    component: () => import('@/views/OA/Procure/components/ShowDetail.vue'),
    meta: { title: '展览立项详情' }
  },
  {
    path: '/OA/Affairs/ImgList',
    name: 'OA/Affairs/ImgList',
    component: () => import('@/views/OA/Affairs/ImgList.vue'),
    meta: { title: '党建图片配置' }
  },
  {
    path: '/OA/Affairs/ImgAdd',
    name: 'OA/Affairs/ImgAdd',
    component: () => import('@/views/OA/Affairs/components/ImgAdd.vue'),
    meta: { title: '新增党建轮播图' }
  },
  {
    path: '/OA/Affairs/ImgEdit',
    name: 'OA/Affairs/ImgEdit',
    component: () => import('@/views/OA/Affairs/components/ImgEdit.vue'),
    meta: { title: '编辑党建轮播图' }
  },
  {
    path: '/OA/Affairs/BuildAdd',
    name: 'OA/Affairs/BuildAdd',
    component: () => import('@/views/OA/Affairs/components/BuildAdd.vue'),
    meta: { title: '党建发文申请' }
  },
  {
    path: '/OA/Affairs/BuildEdit',
    name: 'OA/Affairs/BuildEdit',
    component: () => import('@/views/OA/Affairs/components/BuildEdit.vue'),
    meta: { title: '党建发文编辑' }
  },
  {
    path: '/OA/Affairs/BuildDetail',
    name: 'OA/Affairs/BuildDetail',
    component: () => import('@/views/OA/Affairs/components/BuildDetail.vue'),
    meta: { title: '党建发文详情' }
  },
  {
    path: '/OA/Seal/SealApplicationAdd',
    name: 'OA/Seal/SealApplicationAdd',
    component: () => import('@/views/OA/Seal/components/SealApplicationAdd.vue'),
    meta: { title: '用章申请' }
  },
  {
    path: '/OA/Seal/SealApplicationEdit',
    name: 'OA/Seal/SealApplicationEdit',
    component: () => import('@/views/OA/Seal/components/SealApplicationEdit.vue'),
    meta: { title: '用章编辑' }
  },
  {
    path: '/OA/Seal/SealApplicationDetail',
    name: 'OA/Seal/SealApplicationDetail',
    component: () => import('@/views/OA/Seal/components/SealApplicationDetail.vue'),
    meta: { title: '用章详情' }
  },
  {
    path: '/OA/Seal/ContractTransformAdd',
    name: 'OA/Seal/ContractTransformAdd',
    component: () => import('@/views/OA/Seal/components/ContractTransformAdd.vue'),
    meta: { title: '合同流转申请' }
  },
  {
    path: '/OA/Seal/ContractTransformEdit',
    name: 'OA/Seal/ContractTransformEdit',
    component: () => import('@/views/OA/Seal/components/ContractTransformEdit.vue'),
    meta: { title: '编辑合同流转申请' }
  },
  {
    path: '/OA/Seal/ContractTransformDetail',
    name: 'OA/Seal/ContractTransformDetail',
    component: () => import('@/views/OA/Seal/components/ContractTransformDetail.vue'),
    meta: { title: '合同流转详情' }
  },
  {
    path: '/OA/Seal/ContractTransformOtherAdd',
    name: 'OA/Seal/ContractTransformOtherAdd',
    component: () => import('@/views/OA/Seal/components/ContractTransformOtherAdd.vue'),
    meta: { title: '非政采云用章申请' }
  },
  {
    path: '/OA/Seal/ContractTransformOtherEdit',
    name: 'OA/Seal/ContractTransformOtherEdit',
    component: () => import('@/views/OA/Seal/components/ContractTransformOtherEdit.vue'),
    meta: { title: '非政采云用章编辑' }
  },
  {
    path: '/OA/Seal/SealMakeSureDetail',
    name: 'OA/Seal/SealMakeSureDetail',
    component: () => import('@/views/OA/Seal/components/SealMakeSureDetail.vue'),
    meta: { title: '用章确认详情' }
  },
  {
    path: '/OA/Seal/LedgerDetail',
    name: 'OA/Seal/LedgerDetail',
    component: () => import('@/views/OA/Seal/components/LedgerDetail.vue'),
    meta: { title: '台账详情' }
  },
  {
    path: '/OA/File/FileAdd',
    name: 'OA/File/FileAdd',
    component: () => import('@/views/OA/File/components/FileAdd.vue'),
    meta: { title: '档案借阅申请' }
  },
  {
    path: '/OA/File/MaintenanceAdd',
    name: 'OA/File/MaintenanceAdd',
    component: () => import('@/views/OA/File/components/MaintenanceAdd.vue'),
    meta: { title: '档案录入' }
  },
  {
    path: '/OA/File/MaintenanceEdit',
    name: 'OA/File/MaintenanceEdit',
    component: () => import('@/views/OA/File/components/MaintenanceEdit.vue'),
    meta: { title: '档案录入编辑' }
  },
  {
    path: '/OA/File/MaintenanceImport',
    name: 'OA/File/MaintenanceImport',
    component: () => import('@/views/OA/File/components/MaintenanceImport.vue'),
    meta: { title: '非文书档案批量导入' }
  },
  {
    path: '/OA/File/MaintenanceBookImport',
    name: 'OA/File/MaintenanceBookImport',
    component: () => import('@/views/OA/File/components/MaintenanceBookImport.vue'),
    meta: { title: '文书档案批量导入' }
  },
  {
    path: '/OA/File/FileEdit',
    name: 'OA/File/FileEdit',
    component: () => import('@/views/OA/File/components/FileEdit.vue'),
    meta: { title: '档案借阅修改' }
  },
  {
    path: '/OA/File/FileDetail',
    name: 'OA/File/FileDetail',
    component: () => import('@/views/OA/File/components/FileDetail.vue'),
    meta: { title: '档案借阅申请详情' }
  },
  {
    path: '/OA/ReadingAndProcessing/ReadList',
    name: 'OA/ReadingAndProcessing/ReadList',
    component: () => import('@/views/OA/ReadingAndProcessing/ReadList.vue'),
    meta: { title: '阅办已办列表' }
  },
  {
    path: '/OA/ReadingAndProcessing/ReadingAdd',
    name: 'OA/ReadingAndProcessing/ReadingAdd',
    component: () => import('@/views/OA/ReadingAndProcessing/components/ReadingAdd.vue'),
    meta: { title: '新建阅办任务' }
  },
  {
    path: '/OA/ReadingAndProcessing/ReadingDetail',
    name: 'OA/ReadingAndProcessing/ReadingDetail',
    component: () => import('@/views/OA/ReadingAndProcessing/components/ReadingDetail.vue'),
    meta: { title: '阅办任务详情' }
  },
  {
    path: '/OA/Examination/SendDetail',
    name: 'OA/Examination/SendDetail',
    component: () => import('@/views/OA/Examination/components/SendDetail.vue'),
    meta: { title: '下发详情' }
  },
  {
    path: '/OA/Examination/MemberDetail',
    name: 'OA/Examination/MemberDetail',
    component: () => import('@/views/OA/Examination/components/MemberDetail.vue'),
    meta: { title: '成员考核详情' }
  },
  {
    path: '/OA/Examination/SubmitDetail',
    name: 'OA/Examination/SubmitDetail',
    component: () => import('@/views/OA/Examination/components/SubmitDetail.vue'),
    meta: { title: '考核单详情' }
  },
  {
    path: '/OA/OverTime/OverTimeInfo',
    name: 'OA/OverTime/OverTimeInfo',
    component: () => import('@/views/OA/OverTime/components/OverTimeInfo.vue'),
    meta: { title: '加班详情' }
  },
  {
    path: '/OA/OverTime/OverTimeAdd',
    name: 'OA/OverTime/OverTimeAdd',
    component: () => import('@/views/OA/OverTime/components/OverTimeAdd.vue'),
    meta: { title: '加班申请' }
  },
  {
    path: '/OA/OverTime/OverTimeUpdate',
    name: 'OA/OverTime/OverTimeUpdate',
    component: () => import('@/views/OA/OverTime/components/OverTimeUpdate.vue'),
    meta: { title: '加班编辑' }
  },
  {
    path: '/OA/HaveDinner/HaveDinnerInfo',
    name: 'OA/HaveDinner/HaveDinnerInfo',
    component: () => import('@/views/OA/HaveDinner/components/HaveDinnerInfo.vue'),
    meta: { title: '公务接待详情' }
  },
  {
    path: '/OA/HaveDinner/HaveDinnerAdd',
    name: 'OA/HaveDinner/HaveDinnerAdd',
    component: () => import('@/views/OA/HaveDinner/components/HaveDinnerAdd.vue'),
    meta: { title: '公务接待申请' }
  },
  {
    path: '/OA/HaveDinner/HaveDinnerUpdate',
    name: 'OA/HaveDinner/HaveDinnerUpdate',
    component: () => import('@/views/OA/HaveDinner/components/HaveDinnerUpdate.vue'),
    meta: { title: '公务接待编辑' }
  },
  {
    path: '/OA/Labor/LaborInfo',
    name: 'OA/Labor/LaborInfo',
    component: () => import('@/views/OA/Labor/components/LaborInfo.vue'),
    meta: { title: '劳务费详情' }
  },
  {
    path: '/OA/Labor/LaborAdd',
    name: 'OA/Labor/LaborAdd',
    component: () => import('@/views/OA/Labor/components/LaborAdd.vue'),
    meta: { title: '劳务费申请' }
  },
  {
    path: '/OA/Labor/LaborUpdate',
    name: 'OA/Labor/LaborUpdate',
    component: () => import('@/views/OA/Labor/components/LaborUpdate.vue'),
    meta: { title: '劳务费编辑' }
  },
  {
    path: '/OA/Assess/AssessInfo',
    name: 'OA/Assess/AssessInfo',
    component: () => import('@/views/OA/Assess/components/AssessInfo.vue'),
    meta: { title: '考核详情' }
  },
  {
    path: '/OA/Assess/AssessAdd',
    name: 'OA/Assess/AssessAdd',
    component: () => import('@/views/OA/Assess/components/AssessAdd.vue'),
    meta: { title: '考核申请' }
  },
  {
    path: '/OA/Assess/AssessUpdate',
    name: 'OA/Assess/AssessUpdate',
    component: () => import('@/views/OA/Assess/components/AssessUpdate.vue'),
    meta: { title: '考核编辑' }
  },
  {
    path: '/OA/Assess/VoteInfo/:appraiseId',
    name: 'OA/Assess/VoteInfo',
    component: () => import('@/views/OA/Assess/components/VoteInfo.vue'),
    meta: { title: '投票详情' }
  },
  {
    path: '/OA/Assess/AssessInfoList',
    name: 'OA/Assess/AssessInfoList',
    component: () => import('@/views/OA/Assess/AssessInfoList.vue'),
    meta: { title: '考核详情列表' }
  },
  {
    path: '/OA/InOut/InOutDetail',
    name: 'OA/InOut/InOutDetail',
    component: () => import('@/views/OA/InOut/components/InOutDetail.vue'),
    meta: { title: '出入证详情' }
  },
  {
    path: '/OA/InOut/InOutAdd',
    name: 'OA/InOut/InOutAdd',
    component: () => import('@/views/OA/InOut/components/InOutAdd.vue'),
    meta: { title: '出入证申请' }
  },
  {
    path: '/OA/InOut/InOutUpdate',
    name: 'OA/InOut/InOutUpdate',
    component: () => import('@/views/OA/InOut/components/InOutUpdate.vue'),
    meta: { title: '出入证编辑' }
  },
  {
    path: '/OA/PersonnelInStorage/InOutDetail',
    name: 'OA/PersonnelInStorage/InOutDetail',
    component: () => import('@/views/OA/PersonnelInStorage/components/InOutDetail.vue'),
    meta: { title: '人员入库详情' }
  },
  {
    path: '/OA/PersonnelInStorage/InOutAdd',
    name: 'OA/PersonnelInStorage/InOutAdd',
    component: () => import('@/views/OA/PersonnelInStorage/components/InOutAdd.vue'),
    meta: { title: '人员入库申请' }
  },
  {
    path: '/OA/PersonnelInStorage/InOutUpdate',
    name: 'OA/PersonnelInStorage/InOutUpdate',
    component: () => import('@/views/OA/PersonnelInStorage/components/InOutUpdate.vue'),
    meta: { title: '人员入库编辑' }
  },
  {
    path: '/OA/Attendance/AttendanceInfo',
    name: 'OA/Attendance/AttendanceInfo',
    component: () => import('@/views/OA/Attendance/components/AttendanceInfo.vue'),
    meta: { title: '考勤详情' }
  },
  {
    path: '/OA/Attendance/AttendanceAdd',
    name: 'OA/Attendance/AttendanceAdd',
    component: () => import('@/views/OA/Attendance/components/AttendanceAdd.vue'),
    meta: { title: '考勤补签申请' }
  },
  {
    path: '/OA/Attendance/AttendanceUpdate',
    name: 'OA/Attendance/AttendanceUpdate',
    component: () => import('@/views/OA/Attendance/components/AttendanceUpdate.vue'),
    meta: { title: '考勤补签编辑' }
  },
  {
    path: '/OA/Leave/LeaveAdd',
    name: 'OA/Leave/LeaveAdd',
    component: () => import('@/views/OA/Leave/components/LeaveAdd.vue'),
    meta: { title: '请假申请' }
  },
  {
    path: '/OA/Leave/LeaveUpdate',
    name: 'OA/Leave/LeaveUpdate',
    component: () => import('@/views/OA/Leave/components/LeaveUpdate.vue'),
    meta: { title: '请假编辑' }
  },
  {
    path: '/OA/Leave/LeaveInfo',
    name: 'OA/Leave/LeaveInfo',
    component: () => import('@/views/OA/Leave/components/LeaveInfo.vue'),
    meta: { title: '请假详情' }
  },
  {
    path: '/OA/Leave/ShredLeaveAdd',
    name: 'OA/Leave/ShredLeaveAdd',
    component: () => import('@/views/OA/Leave/components/ShredLeaveAdd.vue'),
    meta: { title: '销假申请' }
  },
  {
    path: '/OA/Leave/ShredLeaveUpdate',
    name: 'OA/Leave/ShredLeaveUpdate',
    component: () => import('@/views/OA/Leave/components/ShredLeaveUpdate.vue'),
    meta: { title: '销假编辑' }
  },
  {
    path: '/OA/Leave/ShredLeaveInfo',
    name: 'OA/Leave/ShredLeaveInfo',
    component: () => import('@/views/OA/Leave/components/ShredLeaveInfo.vue'),
    meta: { title: '销假详情' }
  },
  {
    path: '/OA/Duty/SignDutyAdd',
    name: 'OA/Duty/SignDutyAdd',
    component: () => import('@/views/OA/Duty/components/SignDutyAdd.vue'),
    meta: { title: '值班补签申请' }
  },
  {
    path: '/OA/Duty/SignDutyUpdate',
    name: 'OA/Duty/SignDutyUpdate',
    component: () => import('@/views/OA/Duty/components/SignDutyUpdate.vue'),
    meta: { title: '值班补签编辑' }
  },
  {
    path: '/OA/Duty/SignDutyInfo',
    name: 'OA/Duty/SignDutyInfo',
    component: () => import('@/views/OA/Duty/components/SignDutyInfo.vue'),
    meta: { title: '值班补签详情' }
  },
  {
    path: '/OA/Duty/WorkDutyAdd',
    name: 'OA/Duty/WorkDutyAdd',
    component: () => import('@/views/OA/Duty/components/WorkDutyAdd.vue'),
    meta: { title: '值班排版申请' }
  },
  {
    path: '/OA/Duty/WorkDutyUpdate',
    name: 'OA/Duty/WorkDutyUpdate',
    component: () => import('@/views/OA/Duty/components/WorkDutyUpdate.vue'),
    meta: { title: '值班排版编辑' }
  },
  {
    path: '/OA/Reception/ReceptionInfo',
    name: 'OA/Reception/ReceptionInfo',
    component: () => import('@/views/OA/Reception/components/ReceptionInfo.vue'),
    meta: { title: '接待详情' }
  },
  {
    path: '/OA/Reception/ReceptionAdd',
    name: 'OA/Reception/ReceptionAdd',
    component: () => import('@/views/OA/Reception/components/ReceptionAdd.vue'),
    meta: { title: '接待申请' }
  },
  {
    path: '/OA/Reception/ReceptionUpdate',
    name: 'OA/Reception/ReceptionUpdate',
    component: () => import('@/views/OA/Reception/components/ReceptionUpdate.vue'),
    meta: { title: '接待编辑' }
  },
  {
    path: '/OA/Common/AttachContent',
    name: 'OA/Common/AttachContent',
    component: () => import('@/views/OA/Common/AttachContent.vue'),
    meta: { title: '附件预览' }
  },
  {
    path: '/OA/Examination/ApproveInfo',
    name: 'OA/Examination/ApproveInfo',
    component: () => import('@/views/OA/Examination/components/ApproveInfo.vue'),
    meta: { title: '考核审批详情' }
  },
  {
    path: '/OA/UserCenter/BirthdayInfo',
    name: 'OA/UserCenter/BirthdayInfo',
    component: () => import('@/views/OA/UserCenter/components/BirthdayInfo.vue'),
    meta: { title: '生日详情' }
  },
  {
    path: '/OA/Office/H5CustomAdd',
    name: 'OA/Office/H5CustomAdd',
    component: () => import('@/views/OA/Office/components/H5CustomAdd.vue'),
    meta: { title: '移动端自定义常用配置链接新增' }
  },
  {
    path: '/OA/Office/H5CustomUpdate',
    name: 'OA/Office/H5CustomUpdate',
    component: () => import('@/views/OA/Office/components/H5CustomUpdate.vue'),
    meta: { title: '移动端自定义常用配置链接编辑' }
  },
  {
    path: '/OA/Account/AccountAdd',
    name: 'OA/Account/AccountAdd',
    component: () => import('@/views/OA/Account/components/AccountAdd.vue'),
    meta: { title: '报销申请' }
  },
  {
    path: '/OA/Account/AccountEdit',
    name: 'OA/Account/AccountEdit',
    component: () => import('@/views/OA/Account/components/AccountEdit.vue'),
    meta: { title: '报销申请编辑' }
  },
  {
    path: '/OA/Account/AccountDetail',
    name: 'OA/Account/AccountDetail',
    component: () => import('@/views/OA/Account/components/AccountDetail.vue'),
    meta: { title: '报销申请详情' }
  },
  {
    path: '/OA/Account/AccountList',
    name: 'OA/Account/AccountList',
    component: () => import('@/views/OA/Account/AccountList.vue'),
    meta: { title: '报销申请列表' }
  },
  {
    path: '/OA/Account/AccountPart',
    name: 'OA/Account/AccountPart',
    component: () => import('@/views/OA/Account/AccountPart.vue'),
    meta: { title: '部门报销统计' }
  },
  {
    path: '/OA/Account/AccountAll',
    name: 'OA/Account/AccountAll',
    component: () => import('@/views/OA/Account/AccountAll.vue'),
    meta: { title: '全馆报销统计' }
  },
  {
    path: '/OA/AssetsManagement/DetopManagement/DetopUpdate',
    name: 'OA/AssetsManagement/DetopManagement/DetopUpdate',
    component: () =>
      import('@/views/OA/AssetsManegement/DetopManagement/components/DetopUpdate.vue'),
    meta: { title: '库房编辑' }
  },
  {
    path: '/OA/AssetsManagement/DetopManagement/DetopAdd',
    name: 'OA/AssetsManagement/DetopManagement/DetopAdd',
    component: () => import('@/views/OA/AssetsManegement/DetopManagement/components/DetopAdd.vue'),
    meta: { title: '库房新增' }
  },
  {
    path: '/OA/AssetsManagement/AssetsType/AssetsTypeUpdate',
    name: 'OA/AssetsManagement/AssetsType/AssetsTypeUpdate',
    component: () =>
      import('@/views/OA/AssetsManegement/AssetsType/components/AssetsTypeUpdate.vue'),
    meta: { title: '资产类目编辑' }
  },
  {
    path: '/OA/AssetsManagement/AssetsType/AssetsTypeAdd',
    name: 'OA/AssetsManagement/AssetsType/AssetsTypeAdd',
    component: () => import('@/views/OA/AssetsManegement/AssetsType/components/AssetsTypeAdd.vue'),
    meta: { title: '资产类目新增' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsReceiveAdd',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsReceiveAdd',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsReceiveAdd.vue'),
    meta: { title: '资产领用申请' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsReceiveInfo',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsReceiveInfo',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsReceiveInfo.vue'),
    meta: { title: '资产领用详情' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsReturnAdd',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsReturnAdd',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsReturnAdd.vue'),
    meta: { title: '资产归还申请' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsTransferAdd',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsTransferAdd',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsTransferAdd.vue'),
    meta: { title: '资产转移申请' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsTransferInfo',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsTransferInfo',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsTransferInfo.vue'),
    meta: { title: '资产转移详情' }
  },
  {
    path: '/OA/AssetsManagement/PersonalAssets/AssetsReturnInfo',
    name: 'OA/AssetsManagement/PersonalAssets/AssetsReturnInfo',
    component: () =>
      import('@/views/OA/AssetsManegement/PersonalAssets/components/AssetsReturnInfo.vue'),
    meta: { title: '资产归还详情' }
  },
  {
    path: '/OA/Assets/AssetsDetail',
    name: 'OA/Assets/AssetsDetail',
    component: () => import('@/views/OA/AssetsManegement/AssetsDetailManager/index.vue'),
    meta: { title: '资产详细列表' }
  },
  {
    path: '/OA/Assets/AssetsDetailEdit',
    name: 'OA/Assets/AssetsDetailEdit',
    component: () => import('@/views/OA/AssetsManegement/AssetsDetailManager/edit.vue'),
    meta: { title: '资产详情编辑' }
  },
  {
    path: '/OA/Assets/AssetAdd',
    name: 'OA/Assets/AssetAdd',
    component: () => import('@/views/OA/AssetsManegement/AssetManager/components/add.vue'),
    meta: { title: '资产列表新增' }
  },
  {
    path: '/OA/Assets/AssetImport',
    name: 'OA/Assets/AssetImport',
    component: () => import('@/views/OA/AssetsManegement/AssetsImport/index.vue'),
    meta: { title: '资产导入' }
  },
  {
    path: '/OA/Assets/AssetsLog',
    name: 'OA/Assets/AssetsLog',
    component: () => import('@/views/OA/AssetsManegement/AssetsLog/AssetsLog.vue'),
    meta: { title: '资产日志' }
  },
  {
    path: '/OA/Assets/QRCdoe',
    name: 'OA/Assets/QRCdoe',
    component: () =>
      import('@/views/OA/AssetsManegement/AssetsDetailManager/components/QRCode.vue'),
    meta: { title: '资产二维码' }
  }
]
export const processRoutes: RouteRecordRaw[] = [
  {
    path: '/oA/processStatistics/columnar',
    name: 'processStatistics_columnar',
    component: () => import('@/views/OA/ProcessStatistics/columnar.vue'),
    meta: { title: '流程统计展示(柱状图)' }
  },
  {
    path: '/oA/processStatistics/pie',
    name: 'processStatistics_pie',
    component: () => import('@/views/OA/ProcessStatistics/pie.vue'),
    meta: { title: '流程统计展示(饼状图)' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/index',
    name: 'CollectionAnnouncementManagementIndex',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/index.vue'
      ),
    meta: { title: '征集公告管理' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/addList',
    name: 'CollectionAnnouncementManagementAdd',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/addList.vue'
      ),
    meta: { title: '新增公告' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/editList/:id',
    name: 'CollectionAnnouncementManagementEditList',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/editList.vue'
      ),
    meta: { title: '修改公告' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/detailList/:id',
    name: 'CollectionAnnouncementManagementDetailList',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/detailList.vue'
      ),
    meta: { title: '公告详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/informationSolicitation/index/:noticeId',
    name: 'informationSolicitation',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/InformationSolicitation/index.vue'
      ),
    meta: { title: '征集信息' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/informationSolicitation/detail/:id',
    name: 'informationSolicitationDetail',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/InformationSolicitation/detail.vue'
      ),
    meta: { title: '征集详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionAnnouncementManagement/informationSolicitation/edit/:id',
    name: 'informationSolicitationEdit',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionAnnouncementManagement/InformationSolicitation/edit.vue'
      ),
    meta: { title: '征集审核' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/index',
    name: 'clueManagementIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ClueManagement/index.vue'),
    meta: { title: '线索管理' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/addList',
    name: 'clueManagementAdd',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ClueManagement/addList.vue'),
    meta: { title: '线索新增' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/detailList/:id',
    name: 'clueManagementDetail',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ClueManagement/detailList.vue'),
    meta: { title: '线索详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/detailColumns',
    name: 'clueManagementDetailColumns',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ClueManagement/detailColumns.vue'),
    meta: { title: '征集品详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/components/clueOrganization/:id',
    name: 'clueManagementClueOrganization',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/ClueManagement/components/clueOrganization.vue'
      ),
    meta: { title: '线索整理' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/components/detail/:id',
    name: 'ClueOrganizationDetail',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/ClueManagement/components/AddUpdateDetail.vue'
      ),
    meta: { title: '物品详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/components/add/:id',
    name: 'ClueOrganizationAdd',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/ClueManagement/components/AddUpdateDetail.vue'
      ),
    meta: { title: '新增线索征集品' }
  },
  {
    path: '/collectionManagement/collectionProcess/clueManagement/components/update/:id/:clueId',
    name: 'ClueOrganizationUpdate',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/ClueManagement/components/AddUpdateDetail.vue'
      ),
    meta: { title: '物品编辑' }
  },
  {
    path: '/collectionManagement/collectionProcess/expertCatabase/index',
    name: 'ExpertCatabaseIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ExpertCatabase/index.vue'),
    meta: { title: '鉴定专家库' }
  },
  {
    path: '/collectionManagement/collectionProcess/expertCatabase/detailExpert/:id',
    name: 'ExpertCatabaseDetailExpert',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ExpertCatabase/detailExpert.vue'),
    meta: { title: '专家库详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/expertCatabase/addExpert',
    name: 'ExpertCatabaseDetailAdd',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ExpertCatabase/addExpert.vue'),
    meta: { title: '新增专家库' }
  },
  {
    path: '/collectionManagement/collectionProcess/expertCatabase/editExpert/:id',
    name: 'ExpertCatabaseDetailEdit',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/ExpertCatabase/editExpert.vue'),
    meta: { title: '专家库编辑' }
  },
  {
    path: '/collectionManagement/collectionProcess/DonationCertificate/index',
    name: 'DonationCertificateIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/DonationCertificate/index.vue'),
    meta: { title: '捐赠证书管理' }
  },
  {
    path: '/collectionManagement/collectionProcess/DonationCertificate/detail/:id',
    name: 'DonationCertificateDetail',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/DonationCertificate/detail.vue'),
    meta: { title: '捐赠证书详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/DonationCertificate/add',
    name: 'DonationCertificateAdd',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/DonationCertificate/add.vue'),
    meta: { title: '捐赠证书新增' }
  },
  {
    path: '/collectionManagement/collectionProcess/DonationCertificate/edit/:id',
    name: 'DonationCertificateEdit',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/DonationCertificate/edit.vue'),
    meta: { title: '捐赠证书编辑' }
  },
  // 数据洞察
  {
    path: '/collection/collect/dataInsight',
    name: 'DataInsight',
    component: () => import('@/views/Collection/Collect/DataInsight/DataInsight.vue'),
    meta: { title: '业务数据洞察' }
  },
  // 主题词配置
  {
    path: '/collectionManagement/CollectionManage/ThemeConfig/index',
    name: 'ThemeConfigIndex',
    component: () => import('@/views/CollectionManagement/CollectionManage/ThemeConfig/index.vue'),
    meta: { title: '主题词配置' }
  },
  // 标签配置
  {
    path: '/collectionManagement/CollectionManage/LabelConfig/index',
    name: 'LabelConfigIndex',
    component: () => import('@/views/CollectionManagement/CollectionManage/LabelConfig/index.vue'),
    meta: { title: '标签配置' }
  },
  {
    path: '/collectionManagement/CollectionManage/LabelConfig/detail/:id',
    name: 'LabelConfigDetail',
    component: () => import('@/views/CollectionManagement/CollectionManage/LabelConfig/add.vue'),
    meta: { title: '标签详情' }
  },
  {
    path: '/collectionManagement/CollectionManage/LabelConfig/add',
    name: 'LabelConfigAdd',
    component: () => import('@/views/CollectionManagement/CollectionManage/LabelConfig/add.vue'),
    meta: { title: '标签新增' }
  },
  {
    path: '/collectionManagement/CollectionManage/LabelConfig/edit/:id',
    name: 'LabelConfigEdit',
    component: () => import('@/views/CollectionManagement/CollectionManage/LabelConfig/add.vue'),
    meta: { title: '标签编辑' }
  },
  {
    path: '/collectionManagement/CollectionManage/ThemeConfig/detail/:id',
    name: 'ThemeConfigDetail',
    component: () => import('@/views/CollectionManagement/CollectionManage/ThemeConfig/add.vue'),
    meta: { title: '主题词详情' }
  },
  {
    path: '/collectionManagement/CollectionManage/ThemeConfig/add',
    name: 'ThemeConfigAdd',
    component: () => import('@/views/CollectionManagement/CollectionManage/ThemeConfig/add.vue'),
    meta: { title: '主题词新增' }
  },
  {
    path: '/collectionManagement/CollectionManage/ThemeConfig/edit/:id',
    name: 'ThemeConfigEdit',
    component: () => import('@/views/CollectionManagement/CollectionManage/ThemeConfig/add.vue'),
    meta: { title: '主题词编辑' }
  },
  {
    path: '/collectionManagement/CollectionManage/Classification/index',
    name: 'ClassificationIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionManage/Classification/index.vue'),
    meta: { title: '藏品分类配置' }
  },
  {
    path: '/collectionManagement/CollectionManage/Classification/detail/:id',
    name: 'ClassificationDetail',
    component: () =>
      import('@/views/CollectionManagement/CollectionManage/Classification/detail.vue'),
    meta: { title: '藏品分类详情' }
  },
  {
    path: '/collectionManagement/CollectionManage/Classification/add',
    name: 'ClassificationAdd',
    component: () => import('@/views/CollectionManagement/CollectionManage/Classification/add.vue'),
    meta: { title: '藏品新增' }
  },
  {
    path: '/collectionManagement/CollectionManage/Classification/edit/:id',
    name: 'ClassificationEdit',
    component: () =>
      import('@/views/CollectionManagement/CollectionManage/Classification/edit.vue'),
    meta: { title: '藏品编辑' }
  },
  {
    path: '/collectionManagement/CollectionManage/Storeroom/index',
    name: 'StoreroomIndex',
    component: () => import('@/views/CollectionManagement/CollectionManage/Storeroom/index.vue'),
    meta: { title: '库房配置' }
  },
  {
    path: '/collectionManagement/CollectionManage/Storeroom/detail/:id',
    name: 'StoreroomDetail',
    component: () => import('@/views/CollectionManagement/CollectionManage/Storeroom/detail.vue'),
    meta: { title: '库房配置详情' }
  },
  {
    path: '/collectionManagement/CollectionManage/Storeroom/add',
    name: 'StoreroomAdd',
    component: () => import('@/views/CollectionManagement/CollectionManage/Storeroom/add.vue'),
    meta: { title: '库房配置新增' }
  },
  {
    path: '/collectionManagement/CollectionManage/Storeroom/edit/:id',
    name: 'StoreroomEdit',
    component: () => import('@/views/CollectionManagement/CollectionManage/Storeroom/edit.vue'),
    meta: { title: '库房配置编辑' }
  },
  {
    path: '/collectionManagement/CollectionManage/Storeroom/storeroom',
    name: 'StoreroomStoreroom',
    component: () =>
      import('@/views/CollectionManagement/CollectionManage/Storeroom/storeroom.vue'),
    meta: { title: '库房' }
  },

  {
    path: '/collectionManagement/CollectionProcess/CollectingItems/index',
    name: 'CollectingItemsIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/CollectingItems/index.vue'),
    meta: { title: '征集物品管理' }
  },
  {
    path: '/collectionManagement/CollectionProcess/CollectingItems/detail/:id/:subItemId',
    name: 'CollectingItemsDetail',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/CollectingItems/detail.vue'),
    meta: { title: '征集物品详情' }
  },
  {
    path: '/collectionManagement/CollectionProcess/CollectingItems/detailtem/:id/:identifyId/:subItemId/:type',
    name: 'CollectingItemsDetailtem',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/CollectingItems/detailtem.vue'),
    meta: { title: '鉴定详情' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionManagement/index',
    name: 'CollectionIndex',
    component: () =>
      import('@/views/CollectionManagement/CollectionProcess/CollectionManagement/index.vue'),
    meta: { title: '藏家管理' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionManagement/addCollection',
    name: 'CollectionAdd',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionManagement/CollectionCUR.vue'
      ),
    meta: { title: '藏家新增' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionManagement/editCollection/:id',
    name: 'CollectionEdit',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionManagement/CollectionCUR.vue'
      ),
    meta: { title: '藏家编辑' }
  },
  {
    path: '/collectionManagement/collectionProcess/collectionManagement/detailCollection/:id',
    name: 'CollectionDetail',
    component: () =>
      import(
        '@/views/CollectionManagement/CollectionProcess/CollectionManagement/CollectionCUR.vue'
      ),
    meta: { title: '藏家详情' }
  },
  {
    path: '/interpreter/add',
    name: 'InterpreterAdd',
    component: () => import('@/views/Interpreter/InterpreterCU.vue'),
    meta: { title: '新增讲解员' }
  },
  {
    path: '/interpreter/edit/:id',
    name: 'InterpreterEdit',
    component: () => import('@/views/Interpreter/InterpreterCU.vue'),
    meta: { title: '编辑讲解员' }
  },
  {
    path: '/interpreter/record',
    name: 'InterpreterRecord',
    component: () => import('@/views/Interpreter/record.vue'),
    meta: { title: '讲解记录' }
  },
  {
    path: '/interpreter/attendance',
    name: 'InterpreterAttendance',
    component: () => import('@/views/Interpreter/attendance.vue'),
    meta: { title: '考勤统计' }
  },
  {
    path: '/volunteer/recruit/notice/index',
    name: 'VolunteerRecruitNoticeList',
    component: () => import('@/views/Volunteer/Recruit/Notice/index.vue'),
    meta: { title: '招募公告' }
  },
  {
    path: '/volunteer/recruit/notice/add',
    name: 'VolunteerRecruitNoticeAdd',
    component: () => import('@/views/Volunteer/Recruit/Notice/add.vue'),
    meta: { title: '招募公告新增' }
  },
  {
    path: '/volunteer/recruit/notice/edit',
    name: 'VolunteerRecruitNoticeEdit',
    component: () => import('@/views/Volunteer/Recruit/Notice/add.vue'),
    meta: { title: '招募公告编辑' }
  },
  {
    path: '/volunteer/recruit/notice/detail',
    name: 'VolunteerRecruitNoticeDetail',
    component: () => import('@/views/Volunteer/Recruit/Notice/detail.vue'),
    meta: { title: '招募公告详情' }
  },
  {
    path: '/volunteer/recruit/preselection/index',
    name: 'VolunteerRecruitPreselectionList',
    component: () => import('@/views/Volunteer/Recruit/Preselection/index.vue'),
    meta: { title: '招募预选' }
  },
  {
    path: '/volunteer/recruit/preselection/detail',
    name: 'VolunteerRecruitPreselectionDetail',
    component: () => import('@/views/Volunteer/Recruit/Preselection/detail.vue'),
    meta: { title: '招募详情' }
  },
  {
    path: '/volunteer/material/file/index',
    name: 'VolunteerMaterialFileList',
    component: () => import('@/views/Volunteer/Material/File/index.vue'),
    meta: { title: '志愿者档案' }
  },
  {
    path: '/volunteer/material/file/detail',
    name: 'VolunteerMaterialFileDetail',
    component: () => import('@/views/Volunteer/Material/File/detail.vue'),
    meta: { title: '志愿者档案详情' }
  },
  {
    path: '/volunteer/material/file/add',
    name: 'VolunteerMaterialFileAdd',
    component: () => import('@/views/Volunteer/Material/File/add.vue'),
    meta: { title: '志愿者档案新增' }
  },
  {
    path: '/volunteer/material/file/edit',
    name: 'VolunteerMaterialFileEdit',
    component: () => import('@/views/Volunteer/Material/File/add.vue'),
    meta: { title: '志愿者档案编辑' }
  },
  {
    path: '/volunteer/material/service/index',
    name: 'VolunteerMaterialServiceList',
    component: () => import('@/views/Volunteer/Material/Service/index.vue'),
    meta: { title: '志愿者服务联盟' }
  },

  {
    path: '/volunteer/work/schedule/index',
    name: 'VolunteerWorkSchedule',
    component: () => import('@/views/Volunteer/Work/Schedule/index.vue'),
    meta: { title: '志愿者排班' }
  },
  {
    path: '/volunteer/work/schedule/add',
    name: 'VolunteerWorkScheduleAdd',
    component: () => import('@/views/Volunteer/Work/Schedule/add.vue'),
    meta: { title: '志愿者排班新建' }
  },
  {
    path: '/volunteer/work/schedule/edit/:id',
    name: 'VolunteerWorkScheduleEdit',
    component: () => import('@/views/Volunteer/Work/Schedule/add.vue'),
    meta: { title: '志愿者排班编辑' }
  },
  {
    path: '/volunteer/work/attendance/index',
    name: 'VolunteerWorkAttendance',
    component: () => import('@/views/Volunteer/Work/Attendance/index.vue'),
    meta: { title: '考勤记录' }
  },
  {
    path: '/volunteer/work/assessment/index',
    name: 'VolunteerWorkAssessment',
    component: () => import('@/views/Volunteer/Work/Assessment/index.vue'),
    meta: { title: '考核记录' }
  },
  {
    path: '/volunteer/work/signin/index',
    name: 'VolunteerWorkSignIn',
    component: () => import('@/views/Volunteer/Work/SignIn/index.vue'),
    meta: { title: '签到配置' }
  },
  // 数字藏品申请模块
  {
    path: '/OA/digitalCollect/add',
    name: 'DigitalCollectAdd',
    component: () => import('@/views/DigitalCollect/add.vue'),
    meta: { title: '数字资源申请' }
  },
  {
    path: '/OA/digitalCollect/edit',
    name: 'DigitalCollectEdit',
    component: () => import('@/views/DigitalCollect/add.vue'),
    meta: { title: '数字资源编辑' }
  },
  {
    path: '/OA/digitalCollect/detail',
    name: 'DigitalCollectDetail',
    component: () => import('@/views/DigitalCollect/detail.vue'),
    meta: { title: '数字资源详情' }
  },
  {
    path: '/OA/Office/AddProcessStart',
    name: 'AddProcessStart',
    component: () => import('@/views/OA/Office/components/AddProcessStart.vue'),
    meta: { title: '发起流程新增' }
  },
  {
    path: '/OA/Office/EditProcessStart',
    name: 'EditProcessStart',
    component: () => import('@/views/OA/Office/components/EditProcessStart.vue'),
    meta: { title: '发起流程编辑' }
  },
  {
    path: '/OA/Office/AddProcessType',
    name: 'AddProcessType',
    component: () => import('@/views/OA/Office/components/AddProcessType.vue'),
    meta: { title: '流程分类新增' }
  },
  {
    path: '/OA/Office/EditProcessType',
    name: 'EditProcessType',
    component: () => import('@/views/OA/Office/components/EditProcessType.vue'),
    meta: { title: '流程分类编辑' }
  }
]
export const errorRoutes: RouteRecordRaw[] = [
  {
    path: '/404',
    name: '404',
    component: () => import('@/views/Error/NotFound.vue'),
    meta: { title: '404' }
  },
  {
    path: '/401',
    name: '401',
    component: () => import('@/views/Error/NotAuth.vue'),
    meta: { title: '401' }
  }
]

const routes: RouteRecordRaw[] = [
  ...errorRoutes,
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/Login/Login.vue'),
    meta: { title: '登录' }
  },
  {
    path: '/',
    name: 'layout',
    component: Layout
  }
]

routes.unshift(...formRoutes)

export default routes
